Skip to content

Run the fetch/content-disposition WPT - #8940

Merged
littledivy merged 1 commit into
mainfrom
littledivy/2026-11-25-wpt-suite-content-disp
Nov 28, 2026
Merged

littledivy merged 1 commit into
mainfrom
littledivy/2026-11-25-wpt-suite-content-disp

Conversation

@littledivy

Copy link
Copy Markdown
Member

fetch/misc doesn't run the WPT fetch/content-disposition directory, because its only test file is tentative and the target skips tentative files. The file checks that a response with duplicate Content-Disposition headers is not a network error and that the values are combined with ", ".

In this patch fetch/misc includes tentative files. All four content-disposition subtests pass. The HTTP/2 variant stays omitted, since it needs a window and the wptserve sidecar runs without HTTP/2.

The six other tentative files this pulls in get entries that match their neighbours. The three local-network-access files need a window. The zstd and HTTP cache subtests are expected failures, because fetch() decodes no zstd and has no HTTP cache.

This is test-only. No runtime code changes, so there is no compat flag. //src/wpt:fetch/misc@ and //src/wpt:fetch/misc@all-autogates each pass 20 out of 20 runs (--runs_per_test=20).

fetch/misc doesn't run the WPT fetch/content-disposition directory, because
its only test file is tentative and the target skips tentative files. The
file checks that a response with duplicate Content-Disposition headers is not
a network error and that the values are combined with ", ".

In this patch fetch/misc includes tentative files. All four
content-disposition subtests pass. The HTTP/2 variant stays omitted, since it
needs a window and the wptserve sidecar runs without HTTP/2. The six other
tentative files this pulls in get entries that match their neighbours: the
local-network-access ones need a window, and the zstd and HTTP cache subtests
are expected failures because fetch() decodes no zstd and has no HTTP cache.

This is test-only, so there is no compat flag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@littledivy
littledivy requested review from a team as code owners November 26, 2026 08:31

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approved — This pull request only changes WPT test configuration, the new expectation entries match the existing conventions, and nothing needed fixing.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

🔒 Security: ✅ LGTM

Only test configuration changes. No runtime code, access control, secrets or trust boundaries are touched.


📋 Code Quality: ✅ LGTM

include_tentative = True is a supported wpt_test parameter (build/wpt_test.bzl), and other targets in src/wpt/BUILD.bazel already use it. The new entries in src/wpt/fetch/misc-test.ts follow the file's existing patterns:

  • .window.js files get omittedTests with a reason.
  • The zstd and HTTP cache entries list expectedFailures with the same explanatory comments as the entries next to them.

📝 Documentation: ✅ LGTM

No documentation concerns.


Reviewed commit: d0aa5131

@littledivy
littledivy merged commit 2ac5101 into main Nov 28, 2026
24 checks passed
@littledivy
littledivy deleted the littledivy/2026-11-25-wpt-suite-content-disp branch November 28, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants